[DDMD] [refactor] Move inlineScan into a visitor class in inline.c