StaticPointers: Make monadic unsafeLookupStaticPtr and staticPtrKeys.