Non-ionising energy loss of pions in thin silicon samples