A Garden of Eden theorem for linear subshifts