tty: amba-pl011: don't dereference NULL platform data