[BUGFIX] Change SmartObject check to respect SIT

Respect static_info_tables in the check, if a object is a
smart object. Works also without static_info_tables.

Resolves: #60699
Change-Id: Iceaff275073ee12c5caf48c1c0b10e7a85742994
Reviewed-on: http://review.typo3.org/32060
Reviewed-by: Tim Lochmüller <tim@fruit-lab.de>
Tested-by: Tim Lochmüller <tim@fruit-lab.de>