Fix RZ/A1H target issues

Fork of mbed-src by mbed official

unknown revision '1887285c0aaa'