[PCB_DEBUG] Pass curr step by locals

A local attribute is used to pass the current step ID to the DebugCheck
call, this should allow to simplify the template specialization and thus
speed-up compilation time.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>