MFC r313345: Update arm and arm64 counters MD bits.
MFC r313394 (by manu): subr_sfbus.c need sys/proc.h for struct thread definition.