elf-core: Add helper function for parsing FreeBSD NT_PRSTATUS

This avoids the use of the ELFPrStatus class, which returns to being
used only for Linux.