Stopping the knock: Lower compression and ported heads...

(Sigh)

...I really have no idea what to suggest now...if you install a smaller cam you'll likely only increase your cylinder pressure due to sooner intake closing, which will only make your detonation issue re-emerge.