ACPICA: Fix possible dereference of null pointer