xfree86: Change displays array to pointers array to fix invalid pointer issues...: merge to 1.20 branch
This is fix for #910 (closed).
This MR is a cherry-pick (no conflicts) of MR !461 (merged) to stable 1.20 branch.
@mattst88 please merge this in.