[COOK-3934] use use_inline_resources only if defined

_use_inline_resources_ isn't available in all versions of chef. This fixes it just to support an older version of Chef.

* https://tickets.opscode.com/browse/COOK-3934