bios: fix boot for or1k
software: factorize exception_handler
targets/mlabs_video: pass with_memtest as kwargs