EventEmitter: Use hasOwn check in #emit

Bug: 73034
Change-Id: Ic888092f2b5957af3b3ad9c8b6d02b7b789cd873