Forget that, as the
24" iMac is not supported inTarget Display Mode, as it is an early 2009 iMac and not a late 2009 27" iMac, which would have been supported via a simple "Mini DisplayPort to Mini DisplayPort" cable according to the FAQ you "linked" to.
----------
Only with
that ScreenRecyclerX application, but it does not state any requirements besides Mac OS X version, therefore you have to try it first, if PowerPC Macs are supported.