catchsegv on bsim and bsim_exe

Change-Id: I848262f264d1db19e1a1fbbce83ba78ae8f75621
exit ENODEV if portalmem is not available

Change-Id: I9e40e85bf2d91b44afa904ca5e4dc1ffc11779cc