Check for alignment when accessing memory with the debugger

Re-adds the valid address checks I accidently removed, too.