Fix erl_eval's receive support with a BEAM module

Using the low-level BEAM instructions, we can loop over each message in
the process queue and removes the first message that match, without
receiving them all to later send them back to itself.