bugfix 9734: test ::mmap() against MAP_FAILED