Republic of Ireland Under-21s secured a hard-fought 0-0 draw in their European Championship qualifier in Romania.