_Msh_POSIXtrap(): stuff for v=$(trap): avoid spurious internal error
_Msh_POSIXtrap(): stuff for v=$(trap): avoid spurious internal error

bin/modernish:
- The fix in commit 25b39a2e was incomplete. Apply the same fix
  for the code supporting variable=$(trap) on all shells.

modernish/modernish